package eu.irreality.dai.ui.cell;

import java.awt.Color;

/*
 Created 26/08/2007 18:58:07
 */

/**
 * The content of a cell in the display.
 */
public interface DisplayableObject
{

    /**
     * @return A character to display in an ASCII terminal.
     */
    public abstract char getChar();

    /**
     * @return A color to display a character in an ASCII terminal.
     */
    public abstract Color getColor();

    /**
     * @return The object's display priority.
     */
    public abstract int getDisplayPriority();

    /**
     * TODO If a tiled display is added, this interface should probably include
     * a public abstract Image getImage() so that it can be shown in such a
     * display.
     */

}
